#include "structs.h"

#include "states.h"
#include "../console.h" /* eTB_Printf (...) */

// Declared outside of structs.h, so that including structs.h does not
//   require the inclusion of states.h and console.h...
void
PickingData::print (void)
{
  eTB_Printf ("%02X:%02X:%02X:%02X\n", r, g, b, a);

  eTB_Printf (" Room: %d  ", room);
  if (surface >= MAX_SECTORS) {
    eTB_Printf (" Line: %d", surface - MAX_SECTORS);
  } else {
    eTB_Printf (" Sector: %d", surface);
  }
}
